package com.lhn.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author lhn
 * @date 2024-10-14 21:41
 */

@Data
public class Order {

    private long id;

    private User user;

    private Menu menu;

    private Admin admin;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date date;

    private int state;

}
